<!DOCTYPE html>
<html>
<head>
    <title>职统</title>
    <link rel="stylesheet" href="/styles/common.css"/>
    <style type="text/css">

    </style>
</head>
<body>
<#include "top.ftl">
<div class="page-body">
    <#include "leftmenu.ftl">
    <div class="page-content">
        <div class="content-nav">
            个人中心 > 我要升职
        </div>
        <table class="listtable">
            <caption>个人信息：</caption>
            <tr class="listheader">
                <th>姓名</th>
                <th>账号名</th>
                <th>联系电话</th>
                <th>职位</th>
                <th>操作</th>
            </tr>
            <#if emp ??>
                    <tr>
                        <td>${emp.employeename}</td>
                        <td>${emp.username}</td>
                        <td>${emp.phone}</td>
                        <td>${(emp.role==0)?string('员工','')}${(emp.role==1)?string('组长','')}${(emp.role==2)?string('管理员','')}${(emp.role==3)?string('超级管理员','')}</td>
                        <td>
                            <#if emp.status== 5>
                                <a type="button" class="clickbutton" href="/cancelpromoted">取消升职</a>
                            <#else>
                                <a type="button" class="clickbutton" href="/dealpromoted">申请升职</a>
                            </#if>
                        </td>
                    </tr>
            </#if>
        </table>
        <#if status??><span style="color: red">${status}</span></#if>
    </div>
</div>
<div class="page-footer">
    <hr/>
    欢迎使用
</div>
</body>
</html>